//
//  MySingleton.m
//  1gene
//
//  Created by 1jiyin on 16/3/3.
//  Copyright © 2016年 1jiyin. All rights reserved.
//

#import "MySingleton.h"

@implementation MySingleton
+(id)sharedInstance
{
    static MySingleton *sharedInstance=nil;
    static dispatch_once_t once;
    dispatch_once(&once, ^{
        sharedInstance=[[self alloc]init];
    });
    return sharedInstance;
}
-(instancetype)init
{
    if (self=[super init]) {
        
    }
    return self;
}
-(void)setTabbarItemTag:(NSInteger)tabbarItemTag
{
    _tabbarItemTag=tabbarItemTag;
}
@end
